package com.wish.group05.house;

import com.wish.group05.common.security.annotation.EnableCustomConfig;
import com.wish.group05.common.security.annotation.EnableRyFeignClients;
import com.wish.group05.common.swagger.annotation.EnableCustomSwagger2;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.data.elasticsearch.repository.config.EnableElasticsearchRepositories;

@EnableCustomConfig
@EnableCustomSwagger2
@EnableRyFeignClients
@SpringCloudApplication
@ComponentScan(basePackages = {"com.wish.group05.base","com.wish.group05.house"})
@EnableElasticsearchRepositories(basePackages = "com.wish.group05.base.repository")
public class HouseApplication {
    public static void main(String[] args) {
        SpringApplication.run(HouseApplication.class,args);
    }
}
